using System;

namespace JustinAngel.MindwaveSensor.WP8
{
    /// <summary>
    /// EventArgs for MindWave.StateChanged event. 
    /// </summary>
    public class MindwaveStateChangedEventArgs : EventArgs
    {
        public MindwaveStateChangedEventArgs(MindwaveServiceState previousState, MindwaveServiceState currentState)
        {
            PreviousState = previousState;
            CurrentState = currentState;
        }

        /// <summary>
        /// Gets the previous state of the Mindwave Sensor.
        /// </summary>
        public MindwaveServiceState PreviousState { get; private set; }

        /// <summary>
        /// Gets the current state of the Mindwave Sensor.
        /// </summary>
        public MindwaveServiceState CurrentState { get; private set; }
    }
}